const router = require('koa-simple-router')
 
//导入
const IndexController = require('./indexControllers.js');
//对类进行实例
const indexController = new IndexController();

//导出
module.exports = (app) => {
    app.use(router(_ => {
        _.get('/', indexController.index())
    }))
}

